{include file="public/header" /}
<body class="childrenBody">
	<form class="layui-form">
		<div class="layui-form-item">
			<label class="layui-form-label">领域编码</label>
			<div class="layui-input-block">
				<input type="text" name="FieldCode" class="layui-input" lay-verify="required" placeholder="请输入领域编码" value="{$view.field_code}">
			</div>
		</div>

		<div class="layui-form-item">
			<label class="layui-form-label">领域名称</label>
			<div class="layui-input-block">
				<input type="text" name="FieldName" class="layui-input" lay-verify="required" placeholder="请输入领域名称" value="{$view.field_name}">
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-inline">
				<label class="layui-form-label">是否启用</label>
				<div class="layui-input-block">
					<input type="checkbox" name="show" class="isShow" title="启用" {eq name="$view.field_status" value="1"}checked{/eq}>
				</div>
			</div>
		</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<input type="hidden" name="field_id" class="" value="{$view.id}">
				<button class="layui-btn" lay-submit="" lay-filter="addUser">立即提交</button>
				<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		    </div>
		</div>
	</form>
	<script type="text/javascript" src="{$PUBLIC_STATIC_SRC.__ADMIN_JS__}/field/fieldAdd.js"></script>
</body>
</html>